/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.drive.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 开停车申报
 *
 * @author pig
 * @date 2023-11-02 09:27:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class BaseDriveStopRecordExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;


    /**
     * 机构ID
     */
    @ExcelProperty("企业")
    @ExcelDictValidate(enumResolver = "sys_company")
    private String orgIdStr;

    /**
     * 装置设施名
     */
    @ExcelProperty("装置设施名")
    private String facilityName;

    /**
     * 开始时间
     */
    @ExcelProperty("开始时间")
    private Date startDate;

    /**
     * 截止时间
     */
    @ExcelProperty("截止时间")
    private Date stopDate;

    /**
     * 开停车地点
     */
    @ExcelProperty("开停车地点")
    private String facilityAddr;


    /**
     * 开停车编号
     */
    @ExcelProperty("开停车编号")
    private String recordCode;

    /**
     * 开停车类型
     */
    @ExcelProperty("开停车类型")
    @ExcelDictValidate(enumResolver = "drive_record_type")
    private String recordTypeStr;


    /**
     * 开停车原因
     */
    @ExcelProperty("开停车原因")
    private String recordReason;

    /**
     * 方案描述
     */
    @ExcelProperty("方案描述")
    private String optionDesc;
    /**
     * 开停车状态
     */
    @ExcelProperty("开停车状态")
    @ExcelDictValidate(enumResolver = "audit_status")
    private String recordStatusStr;


}
